package com.piper.core;


/**
 * 请求数据的临时容器
 */
public class RequestDataHolder {

    private static ThreadLocal<RequestData> tl = new ThreadLocal<>();

    public static void put(RequestData s) {
        tl.set(s);
    }

    public static RequestData get() {
        return tl.get();
    }

    public static void remove() {
        tl.remove();
    }
}
